/**
  \file dawggenerator.h
  \author Francis Girard
  \date 6 march 2012
  
  Dawg generator declaration.
*/


/*
 *  Copyright (C) 2012, Francis Girard
 *
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

/*
 *  Copyright (C) 2011, Jerzy Chalupski
 *
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */


#ifndef __dawggenerator_h__
#define __dawggenerator_h__


/*
  PROCESSING DAWG_EXPORT_DLL
*/
#ifndef DAWG_EXPORT_DLL
#ifdef DO_DAWG_EXPORT_DLL
#define DAWG_EXPORT_DLL __declspec(dllexport)
#else
#define DAWG_EXPORT_DLL
#endif
#endif


/*
  PROCESSING DAWG_EXTERN_C
*/
#ifdef DAWG_EXTERN_C
#undef DAWG_EXTERN_C
#endif

#ifdef __cplusplus
#define DAWG_EXTERN_C extern "C"
#else
#define DAWG_EXTERN_C
#endif


DAWG_EXPORT_DLL DAWG_EXTERN_C int generate_dawg
(
  const char* pkcWordListFileName,
  const char* pkcEncodedFileName,
  const unsigned char bPrintTrie
);

// #ifndef __dawggenerator_h__
#endif

